﻿using System;
using OA.DBUtility;

namespace OA.Model
{
    /// <summary>
    /// ProjectCash:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    [MappingTable("ProjectCash")]
    public partial class ProjectCashInfo
    {
        public ProjectCashInfo()
        { }
        #region Model
        private int _id;
        private int? _incomeid;
        private string _company;
        private decimal? _totalcash;
        private DateTime? _cashtime;
        private decimal? _cashamount;
        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("IncomeId")]
        public int? IncomeId
        {
            set { _incomeid = value; }
            get { return _incomeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("Company")]
        public string Company
        {
            set { _company = value; }
            get { return _company; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("TotalCash")]
        public decimal? TotalCash
        {
            set { _totalcash = value; }
            get { return _totalcash; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("CashTime")]
        public DateTime? CashTime
        {
            set { _cashtime = value; }
            get { return _cashtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("CashAmount")]
        public decimal? CashAmount
        {
            set { _cashamount = value; }
            get { return _cashamount; }
        }

        [DataField("InternalType")]
        public int InternalType { get; set; }
        #endregion Model

    }
}

